package pkmn.move;

import pkmn.battle.BattlePokemon;
import pkmn.status.Status;
import pkmn.status.StatusEnum;
import pkmn.util.Util;

public class ApplyBurn extends IndirectAction{

    @Override
    public void execute(BattlePokemon battlePokemon) {
        if (battlePokemon.getPokemon().getStatus().equals(StatusEnum.none)){
            battlePokemon.getPokemon().setStatus(new Status(StatusEnum.burn, -1));
            Util.printAndWait(battlePokemon + " is burning!");
        }else
            Util.printAndWait("But, it failed!");
    }
}
